package cn.qf.shop.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 信箱管理表
    */
@ApiModel(value="cn-qf-shop-pojo-entity-Letter")
@Data
public class Letter implements Serializable {
    /**
    * 信箱的id
    */
    @ApiModelProperty(value="信箱的id")
    private Integer letId;

    /**
    * 小区的主键
    */
    @ApiModelProperty(value="小区的主键")
    private Integer cellId;

    /**
    * 来件人
    */
    @ApiModelProperty(value="来件人")
    private String letName;

    /**
    * 信件的标题
    */
    @ApiModelProperty(value="信件的标题")
    private String letTitle;

    /**
    * 是否匿名0->否,1->是
    */
    @ApiModelProperty(value="是否匿名0->否,1->是")
    private Integer letStatus;

    /**
    * 信件内容
    */
    @ApiModelProperty(value="信件内容")
    private String letContent;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
    * 修改时间
    */
    @ApiModelProperty(value="修改时间")
    private Date updateTime;

    /**
    * 是否删除0->N,1->Y
    */
    @ApiModelProperty(value="是否删除0->N,1->Y")
    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Letter() {
    }

    public Letter(Integer letId, Integer cellId, String letName, String letTitle, Integer letStatus, String letContent, Date createTime, Date updateTime, Integer isDel) {
        this.letId = letId;
        this.cellId = cellId;
        this.letName = letName;
        this.letTitle = letTitle;
        this.letStatus = letStatus;
        this.letContent = letContent;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDel = isDel;
    }

    public Integer getLetId() {
        return letId;
    }

    public void setLetId(Integer letId) {
        this.letId = letId;
    }

    public Integer getCellId() {
        return cellId;
    }

    public void setCellId(Integer cellId) {
        this.cellId = cellId;
    }

    public String getLetName() {
        return letName;
    }

    public void setLetName(String letName) {
        this.letName = letName;
    }

    public String getLetTitle() {
        return letTitle;
    }

    public void setLetTitle(String letTitle) {
        this.letTitle = letTitle;
    }

    public Integer getLetStatus() {
        return letStatus;
    }

    public void setLetStatus(Integer letStatus) {
        this.letStatus = letStatus;
    }

    public String getLetContent() {
        return letContent;
    }

    public void setLetContent(String letContent) {
        this.letContent = letContent;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "Letter{" +
                "letId=" + letId +
                ", cellId=" + cellId +
                ", letName='" + letName + '\'' +
                ", letTitle='" + letTitle + '\'' +
                ", letStatus=" + letStatus +
                ", letContent='" + letContent + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDel=" + isDel +
                '}';
    }
}